module.exports = (sequelize, Sequelize) => {
  const UserAuth = sequelize.define('userAuth', {
    uid: {
      type: Sequelize.STRING
    },
    loginType: {
      type: Sequelize.INTEGER
    },
    openid: {
      type: Sequelize.STRING
    },
    accessToken: {
      type: Sequelize.STRING
    }
  })

  return UserAuth
}
